﻿//===============================================================================
// Microsoft Innovation Centre - Western Europe
// Copyright (c) 2008 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;

namespace Microsoft.WVB.Framework
{
    /// <summary>
    /// The base Exception used to differenciate Web Video Blueprint exceptions from Silverlight Runtime Exceptions.
    /// </summary>
    public class WVBException : Exception
    {
        /// <summary>
        /// Initialises a <see cref="WVBException"/> object.
        /// </summary>
        public WVBException() : base() { }

        /// <summary>
        /// Initialises a <see cref="WVBException"/> object.
        /// </summary>
        /// <param name="message">A <see cref="String"/> that indicates the message to display.</param>
        public WVBException(String message) : base(message) { }

        /// <summary>
        /// Initialises a <see cref="WVBException"/> object.
        /// </summary>
        /// <param name="message">A <see cref="String"/> that indicates the message to display.</param>
        /// <param name="innerException">An <see cref="Exception"/> based class informing about the real innerException if any.</param>
        public WVBException(String message, Exception innerException) : base(message, innerException) { }


    }
}
